package com.sky.service.admin;

import com.sky.vo.OrderReportVO;
import com.sky.vo.SalesTop10ReportVO;
import com.sky.vo.TurnoverReportVO;
import com.sky.vo.UserReportVO;

import javax.servlet.http.HttpServletResponse;
import java.time.LocalDate;

public interface ReportService {
    /**
     * 根据时间区间统计营业额
     *
     */
    TurnoverReportVO turnoverStatistics(LocalDate begin, LocalDate end);
    /**
     * 用户统计
     */
    UserReportVO userStatistics(LocalDate begin, LocalDate end);
    /**
     * 订单统计
     */
    OrderReportVO ordersStatistics(LocalDate begin, LocalDate end);
    /**
     * 销量排名Top10
     */
    SalesTop10ReportVO top10(LocalDate begin, LocalDate end);
    /**
     * 导出运营数据报表
     * @param response
     */
    void exportBusinessData(HttpServletResponse response);
}
